-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize poison API of Once, rename poisoned() #81745
Conversation
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Should the commits be squashed? |
1.51 branches off tomorrow, so depending on how quickly this gets merged it might need to be changed to 1.52.
That's fine, using the CI on GitHub here works too. :)
Yeah feel free to squash the commits. |
f5253b4
to
3444577
Compare
Sounds like good timing then. :D I squashed the commits right away to speed things up. |
The job Click to see the possible cause of the failure (guessed by this bot)
|
This stabilizes: * `OnceState` * `OnceState::is_poisoned()` (previously named `poisoned()`) * `Once::call_once_force()` `poisoned()` was renamed because the new name is more clear as a few people agreed and nobody objected. Closes rust-lang#33577
3444577
to
f42e961
Compare
FCP happened last may: #33577 (comment) @bors r+ rollup=always |
📌 Commit f42e961 has been approved by |
The queue is quite long right now, so there's a chance it won't make it. We'll see how it goes. :) |
…ou-se Stabilize poison API of Once, rename poisoned() This stabilizes: * `OnceState` * `OnceState::is_poisoned()` (previously named `poisoned()`) * `Once::call_once_force()` `poisoned()` was renamed because the new name is more clear as a few people agreed and nobody objected. Closes rust-lang#33577 Notes: * I'm not entirely sure it's supposed to be 1.51, LMK if I did it wrong * I failed to run tests locally, so we will have to leave it to bors or someone else can try
Rollup of 9 pull requests Successful merges: - rust-lang#74304 (Stabilize the Wake trait) - rust-lang#79805 (Rename Iterator::fold_first to reduce and stabilize it) - rust-lang#81556 (introduce future-compatibility warning for forbidden lint groups) - rust-lang#81645 (Add lint for `panic!(123)` which is not accepted in Rust 2021.) - rust-lang#81710 (OsStr eq_ignore_ascii_case takes arg by value) - rust-lang#81711 (add #[inline] to all the public IpAddr functions) - rust-lang#81725 (Move test to be with the others) - rust-lang#81727 (Revert stabilizing integer::BITS.) - rust-lang#81745 (Stabilize poison API of Once, rename poisoned()) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This stabilizes:
OnceState
OnceState::is_poisoned()
(previously namedpoisoned()
)Once::call_once_force()
poisoned()
was renamed because the new name is more clear as a fewpeople agreed and nobody objected.
Closes #33577
Notes: